/**
 * Copyright (c) 2013 Mark Tielemans
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * DISCLAIMER
 * This software is provided "as is" and any expressed or implied warranties, including, but not limited to, the implied warranties of 
 * merchantability and fitness for a particular purpose are disclaimed. In no event shall the regents or contributors be liable for any 
 * direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute 
 * goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in 
 * contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if 
 * advised of the possibility of such damage.
 */
package nl.marktielemans.easydb.model;

import java.util.List;

/**
 * Interface to be implemented by domain classes that are to be persisted using EasyDB.
 * 
 * @author Mark Tielemans
 * @version 1.0
 * @since 1.0
 */
public interface EasyDBEntity {
	/**
	 * Converts a domain class' properties into a list of {@link TableColumn TableColumns} with a 
	 * property name and value.
	 * @return list of properties with value
	 */
	List<TableColumn<?>> getProperties();
}
